package com.桥接模式.fileService;

import com.桥接模式.fileType.ParentInterface;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 一级查重服务类
 */
@Service
public class ChaChongService extends ParentServiceInterface {

    @Override
    public String userAddFile() {
        parentInterface.sendMsg("查重");
        String fileNum = parentInterface.getFileNum();
        return "查重"+fileNum;
    }
}
